using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN GiayToSinhVienEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: GiayToSinhVienEntity</para>
	/// <para>Description: ClassGiayToSinhVienEntity store data of table GiayToSinhVien</para>
	///</summary>

	[DataContract]
	public partial class GiayToSinhVienEntity{


		private bool _InternalChangedIsNullGiayToSinhVien_ID=true;
		private bool _IsNullGiayToSinhVien_ID=true;
		private bool _InternalChangedIsNullLoaiGiayTo_ID=true;
		private bool _IsNullLoaiGiayTo_ID=true;
		private bool _InternalChangedIsNullSinhVien_ID=true;
		private bool _IsNullSinhVien_ID=true;
		private bool _InternalChangedIsNullSoLuong=true;
		private bool _IsNullSoLuong=true;
		private bool _InternalChangedIsNullGhiChu=true;
		private bool _IsNullGhiChu=true;
		private bool _InternalChangedIsNullDaTra=true;
		private bool _IsNullDaTra=true;
		private bool _InternalChangedIsNullNgayTra=true;
		private bool _IsNullNgayTra=true;
		private int _GiayToSinhVien_ID;
		private int _LoaiGiayTo_ID;
		private int _SinhVien_ID;
		private int _SoLuong;
		private string _GhiChu;
		private bool _DaTra;
		private DateTime _NgayTra;
		[DataMember]
		public bool IsNullGiayToSinhVien_ID{
			get{return _IsNullGiayToSinhVien_ID;}
			set{if(!_InternalChangedIsNullGiayToSinhVien_ID)_IsNullGiayToSinhVien_ID=value;}
		}
		[DataMember]
		public bool IsNullLoaiGiayTo_ID{
			get{return _IsNullLoaiGiayTo_ID;}
			set{if(!_InternalChangedIsNullLoaiGiayTo_ID)_IsNullLoaiGiayTo_ID=value;}
		}
		[DataMember]
		public bool IsNullSinhVien_ID{
			get{return _IsNullSinhVien_ID;}
			set{if(!_InternalChangedIsNullSinhVien_ID)_IsNullSinhVien_ID=value;}
		}
		[DataMember]
		public bool IsNullSoLuong{
			get{return _IsNullSoLuong;}
			set{if(!_InternalChangedIsNullSoLuong)_IsNullSoLuong=value;}
		}
		[DataMember]
		public bool IsNullGhiChu{
			get{return _IsNullGhiChu;}
			set{if(!_InternalChangedIsNullGhiChu)_IsNullGhiChu=value;}
		}
		[DataMember]
		public bool IsNullDaTra{
			get{return _IsNullDaTra;}
			set{if(!_InternalChangedIsNullDaTra)_IsNullDaTra=value;}
		}
		[DataMember]
		public bool IsNullNgayTra{
			get{return _IsNullNgayTra;}
			set{if(!_InternalChangedIsNullNgayTra)_IsNullNgayTra=value;}
		}
		[DataMember]
		public int GiayToSinhVien_ID{
			get{return _GiayToSinhVien_ID;}
			set{
				_GiayToSinhVien_ID=value;
				if(_GiayToSinhVien_ID!=null){
					_IsNullGiayToSinhVien_ID=false;
					_InternalChangedIsNullGiayToSinhVien_ID=true;
				}
			}
		}
		[DataMember]
		public int LoaiGiayTo_ID{
			get{return _LoaiGiayTo_ID;}
			set{
				_LoaiGiayTo_ID=value;
				if(_LoaiGiayTo_ID!=null){
					_IsNullLoaiGiayTo_ID=false;
					_InternalChangedIsNullLoaiGiayTo_ID=true;
				}
			}
		}
		[DataMember]
		public int SinhVien_ID{
			get{return _SinhVien_ID;}
			set{
				_SinhVien_ID=value;
				if(_SinhVien_ID!=null){
					_IsNullSinhVien_ID=false;
					_InternalChangedIsNullSinhVien_ID=true;
				}
			}
		}
		[DataMember]
		public int SoLuong{
			get{return _SoLuong;}
			set{
				_SoLuong=value;
				if(_SoLuong!=null){
					_IsNullSoLuong=false;
					_InternalChangedIsNullSoLuong=true;
				}
			}
		}
		[DataMember]
		public string GhiChu{
			get{return _GhiChu;}
			set{
				_GhiChu=value;
				if(_GhiChu!=null){
					_IsNullGhiChu=false;
					_InternalChangedIsNullGhiChu=true;
				}
			}
		}
		[DataMember]
		public bool DaTra{
			get{return _DaTra;}
			set{
				_DaTra=value;
				if(_DaTra!=null){
					_IsNullDaTra=false;
					_InternalChangedIsNullDaTra=true;
				}
			}
		}
		[DataMember]
		public DateTime NgayTra{
			get{return _NgayTra;}
			set{
				_NgayTra=value;
				if(_NgayTra!=null){
					_IsNullNgayTra=false;
					_InternalChangedIsNullNgayTra=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END GiayToSinhVienEntityBase*****************************************/
	/*****************************************************************************************************/
}

